package com.yang.service.Impl;

import com.yang.mapper.AttendanceRecordMapper;
import com.yang.pojo.AttendanceRecord;
import com.yang.service.AttendanceRecordService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;

/**
 * @Author 杨天可
 * @Date 2021/3/15 10:16
 * @Version 1.0
 */
@Service("attendanceRecordService")
public class AttendanceRecordServiceImpl implements AttendanceRecordService {

    @Resource
    AttendanceRecordMapper attendanceRecordMapper;

    @Override
    public AttendanceRecord findByWorkDateAndId(Date workDate, Integer userInfoId) {
        return attendanceRecordMapper.findByWorkDateAndId(workDate,userInfoId);
    }
}
